﻿package net.wangit.view.unit.grid;

import net.wangit.context.ActionContext;
import net.wangit.view.unit.UnitComponent;

public class HiddenVerticalGroup extends HiddenableVerticalGroup {

	public HiddenVerticalGroup(ActionContext ac, UnitComponent unit) {
		super(ac, unit);
		for (int i = 0; i < groups.size(); i++) {
			Group group = (Group) groups.get(i);
			if (i > 0)
				group.setVisible(false);
		}

	}
}
